using System;
using System.Collections.Generic;
using System.Text;

namespace RAP.Framework.Libary.JSON.Conversion
{
    [Serializable]
    [AttributeUsage ( AttributeTargets.Class )]
    public class JsonUseBaseTypeAttribute:Attribute
    {
        private Type baseType = null;

        public JsonUseBaseTypeAttribute ( )
            : base ( )
        { }

        public JsonUseBaseTypeAttribute ( Type type )
            : base ( )
        {
            this.baseType = type;
        }

        public Type BaseClassType
        {
            get
            {
                return baseType;
            }
            set
            {
                baseType = value;
            }
        }
    }
}
